import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  Image,
  View
} from 'react-native';

export default class Image extends Component {
	static propTypes = {
		source: React.PropTypes.object.isRequired,  
		style: React.PropTypes.object.isRequired,  
	}

	render(){
		return (
			<Image source={this.props.source} style={this.props.style}/>
			);
	}
}
